package com.d0309;

public class Person {
    protected String name;
    protected int age;
    protected String sex;

    public Person(){
    }

    public Person(String name){
        this.name = name;
        System.out.println("Person类的构造方法");
    }

    public void run(){
        System.out.println("跑步");
    }

    public static void main(String[] args) {
        Husband husband = new Husband();

        //Person 能否调用drive方法

    }
}
